package info.javatech.jmf.client.controller;

import info.javatech.jmf.client.controller.exceptions.ComponentConstructionException;
import info.javatech.jmf.client.controller.wsclient.PComponent;
import info.javatech.jmf.client.controller.wsclient.PEvent;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Item;

public interface JMFComponentWrapperInterface{
    public Object constructInstance(PComponent pc)  throws ComponentConstructionException;
    
    public PComponent persist(Object obj,PComponent eventSource);
    
    public PEvent handleEvent(Displayable displayable, Item Item, Command command);
    
    public void beforeNewResponse();
}
